<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>IGlobalEditorOptions | monaco-editor</title>
	<meta name="description" content="Documentation for monaco-editor">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">monaco-editor</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/monaco.html">monaco</a>
				</li>
				<li>
					<a href="../modules/monaco.editor.html">editor</a>
				</li>
				<li>
					<a href="monaco.editor.iglobaleditoroptions.html">IGlobalEditorOptions</a>
				</li>
			</ul>
			<h1>Interface IGlobalEditorOptions</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>Options which apply for all editors.</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">IGlobalEditorOptions</span>
						<ul class="tsd-hierarchy">
							<li>
								<a href="monaco.editor.istandaloneeditorconstructionoptions.html" class="tsd-signature-type">IStandaloneEditorConstructionOptions</a>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section tsd-is-external">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#detectindentation" class="tsd-kind-icon">detect<wbr>Indentation</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#insertspaces" class="tsd-kind-icon">insert<wbr>Spaces</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#largefileoptimizations" class="tsd-kind-icon">large<wbr>File<wbr>Optimizations</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#maxtokenizationlinelength" class="tsd-kind-icon">max<wbr>Tokenization<wbr>Line<wbr>Length</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#semantichighlighting_enabled" class="tsd-kind-icon">semantic<wbr>Highlighting.enabled</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#stablepeek" class="tsd-kind-icon">stable<wbr>Peek</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#tabsize" class="tsd-kind-icon">tab<wbr>Size</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#theme" class="tsd-kind-icon">theme</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#trimautowhitespace" class="tsd-kind-icon">trim<wbr>Auto<wbr>Whitespace</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#wordbasedsuggestions" class="tsd-kind-icon">word<wbr>Based<wbr>Suggestions</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="monaco.editor.iglobaleditoroptions.html#wordbasedsuggestionsonlysamelanguage" class="tsd-kind-icon">word<wbr>Based<wbr>Suggestions<wbr>Only<wbr>Same<wbr>Language</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group tsd-is-external">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="detectindentation" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> detect<wbr>Indentation</h3>
					<div class="tsd-signature tsd-kind-icon">detect<wbr>Indentation<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1119</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls whether <code>tabSize</code> and <code>insertSpaces</code> will be automatically detected when a file is opened based on the file contents.
							Defaults to true.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="insertspaces" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> insert<wbr>Spaces</h3>
					<div class="tsd-signature tsd-kind-icon">insert<wbr>Spaces<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1114</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Insert spaces when pressing <code>Tab</code>.
								This setting is overridden based on the file contents when <code>detectIndentation</code> is on.
							Defaults to true.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="largefileoptimizations" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> large<wbr>File<wbr>Optimizations</h3>
					<div class="tsd-signature tsd-kind-icon">large<wbr>File<wbr>Optimizations<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1129</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Special handling for large files to disable certain memory intensive features.
							Defaults to true.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="maxtokenizationlinelength" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> max<wbr>Tokenization<wbr>Line<wbr>Length</h3>
					<div class="tsd-signature tsd-kind-icon">max<wbr>Tokenization<wbr>Line<wbr>Length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1156</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Lines above this length will not be tokenized for performance reasons.
							Defaults to 20000.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="semantichighlighting_enabled" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> semantic<wbr>Highlighting.enabled</h3>
					<div class="tsd-signature tsd-kind-icon">semantic<wbr>Highlighting.enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"configuredByTheme"</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1146</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls whether the semanticHighlighting is shown for the languages that support it.
								true: semanticHighlighting is enabled for all themes
								false: semanticHighlighting is disabled for all themes
								&#39;configuredByTheme&#39;: semanticHighlighting is controlled by the current color theme&#39;s semanticHighlighting setting.
							Defaults to &#39;byTheme&#39;.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="stablepeek" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> stable<wbr>Peek</h3>
					<div class="tsd-signature tsd-kind-icon">stable<wbr>Peek<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1151</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Keep peek editors open even when double clicking their content or when hitting <code>Escape</code>.
							Defaults to false.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="tabsize" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> tab<wbr>Size</h3>
					<div class="tsd-signature tsd-kind-icon">tab<wbr>Size<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1108</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>The number of spaces a tab is equal to.
								This setting is overridden based on the file contents when <code>detectIndentation</code> is on.
							Defaults to 4.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="theme" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> theme</h3>
					<div class="tsd-signature tsd-kind-icon">theme<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1163</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Theme to be used for rendering.
								The current out-of-the-box available themes are: &#39;vs&#39; (default), &#39;vs-dark&#39;, &#39;hc-black&#39;.
								You can create custom themes via <code>monaco.editor.defineTheme</code>.
							To switch a theme, use <code>monaco.editor.setTheme</code></p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="trimautowhitespace" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> trim<wbr>Auto<wbr>Whitespace</h3>
					<div class="tsd-signature tsd-kind-icon">trim<wbr>Auto<wbr>Whitespace<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1124</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Remove trailing auto inserted whitespace.
							Defaults to true.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="wordbasedsuggestions" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> word<wbr>Based<wbr>Suggestions</h3>
					<div class="tsd-signature tsd-kind-icon">word<wbr>Based<wbr>Suggestions<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1134</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls whether completions should be computed based on words in the document.
							Defaults to true.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external">
					<a name="wordbasedsuggestionsonlysamelanguage" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> word<wbr>Based<wbr>Suggestions<wbr>Only<wbr>Same<wbr>Language</h3>
					<div class="tsd-signature tsd-kind-icon">word<wbr>Based<wbr>Suggestions<wbr>Only<wbr>Same<wbr>Language<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in node_modules/monaco-editor/monaco.d.ts:1138</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Controls whether word based completions should be included from opened documents of the same language or any language.</p>
						</div>
					</div>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="label tsd-is-external">
						<span>Internals</span>
					</li>
					<li class=" tsd-kind-namespace">
						<a href="../modules/primefaces.html">Prime<wbr>Faces</a>
					</li>
					<li class="label tsd-is-external">
						<span>Externals</span>
					</li>
					<li class="current tsd-kind-namespace tsd-is-external">
						<a href="../modules/monaco.html">monaco</a>
						<ul>
							<li class="current tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external">
								<a href="../modules/monaco.editor.html">editor</a>
							</li>
							<li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external">
								<a href="../modules/monaco.languages.html">languages</a>
							</li>
							<li class=" tsd-kind-namespace tsd-parent-kind-namespace tsd-is-external">
								<a href="../modules/monaco.worker.html">worker</a>
							</li>
						</ul>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-interface tsd-parent-kind-namespace tsd-is-external">
						<a href="monaco.editor.iglobaleditoroptions.html" class="tsd-kind-icon">IGlobal<wbr>Editor<wbr>Options</a>
						<ul>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#detectindentation" class="tsd-kind-icon">detect<wbr>Indentation</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#insertspaces" class="tsd-kind-icon">insert<wbr>Spaces</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#largefileoptimizations" class="tsd-kind-icon">large<wbr>File<wbr>Optimizations</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#maxtokenizationlinelength" class="tsd-kind-icon">max<wbr>Tokenization<wbr>Line<wbr>Length</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#semantichighlighting_enabled" class="tsd-kind-icon">semantic<wbr>Highlighting.enabled</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#stablepeek" class="tsd-kind-icon">stable<wbr>Peek</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#tabsize" class="tsd-kind-icon">tab<wbr>Size</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#theme" class="tsd-kind-icon">theme</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#trimautowhitespace" class="tsd-kind-icon">trim<wbr>Auto<wbr>Whitespace</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#wordbasedsuggestions" class="tsd-kind-icon">word<wbr>Based<wbr>Suggestions</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external">
								<a href="monaco.editor.iglobaleditoroptions.html#wordbasedsuggestionsonlysamelanguage" class="tsd-kind-icon">word<wbr>Based<wbr>Suggestions<wbr>Only<wbr>Same<wbr>Language</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>